package com.five.community.service;

import com.five.community.bean.Housing;
import com.five.community.bean.vo.HousingVo;

import java.util.List;

public interface HousingService {

    //查询页面所有信息
    List<HousingVo> selectAllF() throws Exception;

    //查询所有房产
    List<Housing> selectAll() throws Exception;
    //根据property查询房产信息
    List<HousingVo> selectByName(String property) throws Exception;
    //添加插入房产表信息
    void insert(Housing housing) throws Exception;
    //通过id查询房产信息
    Housing selectById(long id) throws Exception;
    //更新房产信息
    void update(Housing housing) throws Exception;
    //删除房产信息
    void delete(long id) throws Exception;
}
